package com.hirsi.module.developer.vo.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@ApiModel("开发者申请列表")
@Data
public class DeveloperApplyResult {

    @ApiModelProperty("开发者id")
    private Integer id;

    @ApiModelProperty(value = "头像地址", position = 1)
    private String avatar;

    @ApiModelProperty(value = "姓名", position = 2)
    private String name;

    @ApiModelProperty(value = "昵称", position = 3)
    private String nick;

    @ApiModelProperty(value = "手机号：解密显示", position = 4)
    private String phone;

    @ApiModelProperty(value = "身份证号，解密显示", position = 5)
    private String idCard;

    @ApiModelProperty(value = "出生日期", position = 6)
    private LocalDate birthDate;

    @ApiModelProperty(value = "性别：0-男，1-女", position = 7)
    private Integer gender;

    @ApiModelProperty(value = "地区：省-市-区-街道", position = 8)
    private String area;

    @ApiModelProperty(value = "详细地址", position = 9)
    private String address;

    @ApiModelProperty(value = "申请时间", position = 10)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "状态：0-待审核，2-驳回", position = 11)
    private Integer status;
}
